home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q102 / 2 / 18.TXT next >
Text File  |  1993-11-16  |  3KB  |  75 lines

  1. DOCUMENT:Q102218  02-NOV-1993  [W_NT]
  2. TITLE   :PRB: MS-DOS Applications Do Not Recognize Redirected LPT Ports
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. ----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. ----------------------------------------------------------------------
  14.  
  15. SYMPTOMS
  16. ========
  17.  
  18. Redirected LPT ports created with Print Manager are not seen by MS-DOS
  19. applications. Printing to the LPT port will result in the following
  20. error message:
  21.  
  22.    The system cannot write to the specified device.
  23.  
  24. The error message may vary depending on the application attempting to
  25. print.
  26.  
  27. CAUSE
  28. =====
  29.  
  30. Ports shared in Print Manager are not automatically translated to
  31. devices for Virtual MS-DOS Machines (VDM). Windows 16-bit applications
  32. that use standard Windows calls to print will work fine. Programs that
  33. try to access the port directly via a device name (LPTx) will be unable
  34. to print.
  35.  
  36. RESOLUTION
  37. ==========
  38.  
  39. In order to print from MS-DOS applications, use the following command
  40. in a VDM:
  41.  
  42.    NET USE LPTx \\computername\sharename
  43.  
  44. This command will enable your MS-DOS applications to access your
  45. shared printer through the LPTx port you indicate on the command line.
  46. You can make the LPTx connection persistant by using the
  47. /PERSISTENT:YES switch when issuing the NET USE command.
  48.  
  49. STATUS
  50. ======
  51.  
  52. Microsoft has confirmed this to be a problem in Windows NT version 3.1
  53. and Windows NT Advanced Server version 3.1. We are researching this
  54. problem and will post new information here in the Microsoft Knowledge
  55. Base as it becomes available.
  56.  
  57. Additional reference words: 3.10
  58. KBCategory:
  59. KBSubcategory: mdos prt netsrv
  60.  
  61. =============================================================================
  62.  
  63. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  64. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  65. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  66. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  67. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  68. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  69. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  70. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  71. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  72. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  73. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  74.  
  75. Copyright Microsoft Corporation 1993.